package net.zigin.epi.demo.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.web.bind.annotation.ModelAttribute;

/*#################################################################*
# 说明:以下代码通过哲勤代码生成工具自动生成    
# 工具:GeneratorCode
# 作者:mgw1986                                                  
# 生成时间:2021-8-24 14:51:01                                               
##################################################################*/

/**
 *  控制器基类
 * @ClassName: BaseController
 * @author mgw1986
 * @date 2021-8-24 14:51:01
 * @version V1.0
 */
public class BaseController {
	protected HttpServletRequest request;
	protected HttpServletResponse response;
	protected HttpSession session;
	
	@ModelAttribute
	protected void getRequestResponse(HttpServletRequest request, HttpServletResponse response,HttpSession session) {
		this.request = request;
		this.response = response;
		this.session = session;
	}
}
